﻿CREATE TABLE [dbo].[SiteLog] (
    [id]         INT           IDENTITY (1, 1) NOT FOR REPLICATION NOT NULL,
    [Sid]        INT           NULL,
    [UserName]   NVARCHAR (50) NULL,
    [CreateTime] DATETIME      NULL,
    [StateId]    INT           NULL,
    [Log]        VARCHAR (MAX) NULL,
    CONSTRAINT [PK_SiteLog] PRIMARY KEY CLUSTERED ([id] ASC)
);

